package com.example.principle;

import com.example.config.ConfigDemo;
import com.example.principle.scope.BeanConfig;
import com.example.principle.scope.Dog;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@EnableConfig
//@Import(MySelector.class)
//@Import(ConfigDemo.class)
//@ComponentScan("com.example.config")
@SpringBootApplication
public class SpringPrincipleApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringPrincipleApplication.class, args);
    }

}
